import request from "@/utils/request";
export function insertConfig(data) {
  return request({
    url: "/config/insert",
    method: "post",
    data: data
  });
}
export function updateConfig(data) {
  return request({
    url: "/config/update",
    method: "post",
    data: data
  });
}
export function deleteConfig(data) {
  return request({
    url: "/config/delete",
    method: "post",
    data: data
  });
}
export function deletesConfig(data) {
  return request({
    url: "/config/deletes",
    method: "post",
    data: data
  });
}
export function enableConfig(data) {
  return request({
    url: "/config/enable",
    method: "post",
    data: data
  });
}
export function enablesConfig(data) {
  return request({
    url: "/config/enables",
    method: "post",
    data: data
  });
}
export function disableConfig(data) {
  return request({
    url: "/config/disable",
    method: "post",
    data: data
  });
}
export function disablesConfig(data) {
  return request({
    url: "/config/disables",
    method: "post",
    data: data
  });
}
export function viewConfig(params) {
  return request({
    url: "/config/view",
    method: "get",
    params: params
  });
}
export function pageConfig(params) {
  return request({
    url: "/config/page",
    method: "get",
    params: params
  });
}
export function searchConfig(params) {
  return request({
    url: "/config/search",
    method: "get",
    params: params
  });
}
